﻿using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;

namespace DPChangedExtension
{
	public class DemoDataContentTemplateSelector : DataTemplateSelector
	{
		public DataTemplate DemoDataTemplate { get; set; }
		protected override DataTemplate SelectTemplateCore( object item, Windows.UI.Xaml.DependencyObject container )
		{
			if ( item is DemoVM )
				return DemoDataTemplate;
			return base.SelectTemplateCore( item, container );
		}
	}
}